package cn.jeeweb.web.modules.equipment.entity;

import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.jeeweb.web.modules.sys.entity.FileResponse;
import cn.jeeweb.web.modules.sys.entity.User;
import cn.xjzn.framework_Core.ControlType;
import cn.xjzn.framework_Core.ModuleServe;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.util.List;

/**
 * Created by zll on 2019/12/11.
 * 设备点检bean
 */
public class EqsMaintenanceCheckHistory implements ObjectMark {

    @TableId(value = "id", type = IdType.UUID)
    @UiPropertyField(propertyName = "id",labelText="唯一标识",displayPosition = 0,canDisplay = false,isDisplayAsSearchResult = false,canSearch = false,canBeNull=false,canPrint = false)
    private String id;
    @TableField(value = "code")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "code",labelText="点检编号",displayPosition =1)
    private String code;
    @TableField(value = "checkPosition")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkPosition",labelText="点检部位",displayPosition =2)
    private String checkPosition;
    @TableField(value = "positionCode")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "positionCode",labelText="部位编号",displayPosition =3)
    private String positionCode;
    @TableField(value = "checkAreaText")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkAreaText",labelText="点检区域文字描述",displayPosition =4)
    private String checkAreaText;
    @TableField(value = "checkAreaImage")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkAreaImage",labelText="点检区域图片",displayPosition =5)
    private String checkAreaImage;
    @TableField(value = "checkAreaFile")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkAreaFile",labelText="点检区域描述附件",displayPosition =6)
    private String checkAreaFile;
    @TableField(value = "personInChargeName")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "personInChargeName",labelText="负责人",displayPosition =7)
    private String personInChargeName;
    @TableField(value = "checkRate")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkRate",labelText="点检频率",displayPosition =8)
    private String checkRate;
    @TableField(value = "machineStatus")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "machineStatus",labelText="机台状态",displayPosition =9,controlType = ControlType.DICTSELECTCONTROL,dictCode = "machineStatus")
    private String machineStatus;
    @TableField(value = "checkStep")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkStep",labelText="点检步骤",displayPosition =10)
    private String checkStep;
    @TableField(value = "checkTime")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkTime",labelText="点检时间",displayPosition =11)
    private String checkTime;
    @TableField(value = "useToolText")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "useToolText",labelText="使用工具描述",displayPosition =12)
    private String useToolText;
    @TableField(value = "useToolImage")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "useToolImage",labelText="使用工具图片",displayPosition =13)
    private String useToolImage;
    @TableField(value = "useToolFile")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "useToolFile",labelText="使用工具描述附件",displayPosition =14)
    private String useToolFile;
    @TableField(value = "checkImportImage")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkImportImage",labelText="重点检查区域图片",displayPosition =15)
    private String checkImportImage;
    @TableField(value = "checkImportText")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkImportText",labelText="重点检查区域文字描述",displayPosition =16)
    private String checkImportText;
    @TableField(value = "checkImportFile")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkImportFile",labelText="重点检查区域描述文件",displayPosition =17)
    private String checkImportFile;
    @TableField(value = "checkStandardText")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkStandardText",labelText="点检基准描述",displayPosition =18)
    private String checkStandardText;
    @TableField(value = "checkStandardImage")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkStandardImage",labelText="点检基准图片",displayPosition =19)
    private String checkStandardImage;
    @TableField(value = "checkStandardFile")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkStandardFile",labelText="点检基准描述文件",displayPosition =20)
    private String checkStandardFile;
    @TableField(value = "checkMethodText")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkMethodText",labelText="点检方法描述",displayPosition =21)
    private String checkMethodText;
    @TableField(value = "checkMethodImage")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkMethodImage",labelText="点检方法图片",displayPosition =22)
    private String checkMethodImage;
    @TableField(value = "checkMethodFile")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "checkMethodFile",labelText="点检方法描述文件",displayPosition =23)
    private String checkMethodFile;
    @TableField(value = "existRiskText")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "existRiskText",labelText="存在风险描述",displayPosition =24)
    private String existRiskText;
    @TableField(value = "existRiskImage")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "existRiskImage",labelText="存在风险图片",displayPosition =25)
    private String existRiskImage;
    @TableField(value = "existRiskFile")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "existRiskFile",labelText="存在风险描述文件",displayPosition =26)
    private String existRiskFile;
    @TableField(value = "countermeasuresText")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "countermeasuresText",labelText="应对措施描述",displayPosition =27)
    private String countermeasuresText;
    @TableField(value = "countermeasuresImage")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "countermeasuresImage",labelText="应对措施图片",displayPosition =28)
    private String countermeasuresImage;
    @TableField(value = "countermeasuresFile")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "countermeasuresFile",labelText="应对措施描述文件",displayPosition =29)
    private String countermeasuresFile;
    @TableField(value = "traineeName")
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceCheckModule,propertyName = "traineeName",labelText="受培训者",displayPosition =7)
    private String traineeName;

    @TableField(exist = false)
    private List<FileResponse> checkAreaImageArray;
    @TableField(exist = false)
    private List<FileResponse> checkImportImageArray;
    @TableField(exist = false)
    private List<FileResponse> useToolFileArray;
    @TableField(exist = false)
    private List<FileResponse> checkStandardFileArray;
    @TableField(exist = false)
    private List<FileResponse> checkMethodFileArray;
    @TableField(exist = false)
    private List<FileResponse> existRiskFileArray;
    @TableField(exist = false)
    private List<FileResponse> countermeasuresFileArray;
    @TableField(exist = false)
    private String taskId;

    @TableField(exist = false)
    private User personInCharge;

    @TableField(exist = false)
    private User trainee;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCheckPosition() {
        return checkPosition;
    }

    public void setCheckPosition(String checkPosition) {
        this.checkPosition = checkPosition;
    }

    public String getPositionCode() {
        return positionCode;
    }

    public void setPositionCode(String positionCode) {
        this.positionCode = positionCode;
    }

    public String getCheckAreaText() {
        return checkAreaText;
    }

    public void setCheckAreaText(String checkAreaText) {
        this.checkAreaText = checkAreaText;
    }

    public String getCheckAreaImage() {
        return checkAreaImage;
    }

    public void setCheckAreaImage(String checkAreaImage) {
        this.checkAreaImage = checkAreaImage;
    }

    public String getCheckAreaFile() {
        return checkAreaFile;
    }

    public void setCheckAreaFile(String checkAreaFile) {
        this.checkAreaFile = checkAreaFile;
    }

    public String getPersonInChargeName() {
        return personInChargeName;
    }

    public void setPersonInChargeName(String personInChargeName) {
        this.personInChargeName = personInChargeName;
    }

    public String getCheckRate() {
        return checkRate;
    }

    public void setCheckRate(String checkRate) {
        this.checkRate = checkRate;
    }

    public String getMachineStatus() {
        return machineStatus;
    }

    public void setMachineStatus(String machineStatus) {
        this.machineStatus = machineStatus;
    }

    public String getCheckStep() {
        return checkStep;
    }

    public void setCheckStep(String checkStep) {
        this.checkStep = checkStep;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public String getUseToolText() {
        return useToolText;
    }

    public void setUseToolText(String useToolText) {
        this.useToolText = useToolText;
    }

    public String getUseToolImage() {
        return useToolImage;
    }

    public void setUseToolImage(String useToolImage) {
        this.useToolImage = useToolImage;
    }

    public String getUseToolFile() {
        return useToolFile;
    }

    public void setUseToolFile(String useToolFile) {
        this.useToolFile = useToolFile;
    }

    public String getCheckImportImage() {
        return checkImportImage;
    }

    public void setCheckImportImage(String checkImportImage) {
        this.checkImportImage = checkImportImage;
    }

    public String getCheckImportText() {
        return checkImportText;
    }

    public void setCheckImportText(String checkImportText) {
        this.checkImportText = checkImportText;
    }

    public String getCheckImportFile() {
        return checkImportFile;
    }

    public void setCheckImportFile(String checkImportFile) {
        this.checkImportFile = checkImportFile;
    }

    public String getCheckStandardText() {
        return checkStandardText;
    }

    public void setCheckStandardText(String checkStandardText) {
        this.checkStandardText = checkStandardText;
    }

    public String getCheckStandardImage() {
        return checkStandardImage;
    }

    public void setCheckStandardImage(String checkStandardImage) {
        this.checkStandardImage = checkStandardImage;
    }

    public String getCheckStandardFile() {
        return checkStandardFile;
    }

    public void setCheckStandardFile(String checkStandardFile) {
        this.checkStandardFile = checkStandardFile;
    }

    public String getCheckMethodText() {
        return checkMethodText;
    }

    public void setCheckMethodText(String checkMethodText) {
        this.checkMethodText = checkMethodText;
    }

    public String getCheckMethodImage() {
        return checkMethodImage;
    }

    public void setCheckMethodImage(String checkMethodImage) {
        this.checkMethodImage = checkMethodImage;
    }

    public String getCheckMethodFile() {
        return checkMethodFile;
    }

    public void setCheckMethodFile(String checkMethodFile) {
        this.checkMethodFile = checkMethodFile;
    }

    public String getExistRiskText() {
        return existRiskText;
    }

    public void setExistRiskText(String existRiskText) {
        this.existRiskText = existRiskText;
    }

    public String getExistRiskImage() {
        return existRiskImage;
    }

    public void setExistRiskImage(String existRiskImage) {
        this.existRiskImage = existRiskImage;
    }

    public String getExistRiskFile() {
        return existRiskFile;
    }

    public void setExistRiskFile(String existRiskFile) {
        this.existRiskFile = existRiskFile;
    }

    public String getCountermeasuresText() {
        return countermeasuresText;
    }

    public void setCountermeasuresText(String countermeasuresText) {
        this.countermeasuresText = countermeasuresText;
    }

    public String getCountermeasuresImage() {
        return countermeasuresImage;
    }

    public void setCountermeasuresImage(String countermeasuresImage) {
        this.countermeasuresImage = countermeasuresImage;
    }

    public String getCountermeasuresFile() {
        return countermeasuresFile;
    }

    public void setCountermeasuresFile(String countermeasuresFile) {
        this.countermeasuresFile = countermeasuresFile;
    }

    public String getTraineeName() {
        return traineeName;
    }

    public void setTraineeName(String traineeName) {
        this.traineeName = traineeName;
    }

    public User getPersonInCharge() {
        return personInCharge;
    }

    public void setPersonInCharge(User personInCharge) {
        this.personInCharge = personInCharge;
    }

    public User getTrainee() {
        return trainee;
    }

    public void setTrainee(User trainee) {
        this.trainee = trainee;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public List<FileResponse> getCheckAreaImageArray() {
        return checkAreaImageArray;
    }

    public void setCheckAreaImageArray(List<FileResponse> checkAreaImageArray) {
        this.checkAreaImageArray = checkAreaImageArray;
    }

    public List<FileResponse> getCheckImportImageArray() {
        return checkImportImageArray;
    }

    public void setCheckImportImageArray(List<FileResponse> checkImportImageArray) {
        this.checkImportImageArray = checkImportImageArray;
    }

    public List<FileResponse> getUseToolFileArray() {
        return useToolFileArray;
    }

    public void setUseToolFileArray(List<FileResponse> useToolFileArray) {
        this.useToolFileArray = useToolFileArray;
    }

    public List<FileResponse> getCheckStandardFileArray() {
        return checkStandardFileArray;
    }

    public void setCheckStandardFileArray(List<FileResponse> checkStandardFileArray) {
        this.checkStandardFileArray = checkStandardFileArray;
    }

    public List<FileResponse> getCheckMethodFileArray() {
        return checkMethodFileArray;
    }

    public void setCheckMethodFileArray(List<FileResponse> checkMethodFileArray) {
        this.checkMethodFileArray = checkMethodFileArray;
    }

    public List<FileResponse> getExistRiskFileArray() {
        return existRiskFileArray;
    }

    public void setExistRiskFileArray(List<FileResponse> existRiskFileArray) {
        this.existRiskFileArray = existRiskFileArray;
    }

    public List<FileResponse> getCountermeasuresFileArray() {
        return countermeasuresFileArray;
    }

    public void setCountermeasuresFileArray(List<FileResponse> countermeasuresFileArray) {
        this.countermeasuresFileArray = countermeasuresFileArray;
    }
}
